Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: throw descriptive error when callbacks used with react #1450

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

owenpearson
Copy link
Member

Previously the react lib would work with a non-Promise client but it would subtly break some of the hooks. This change makes it so that if someone accidentally forgets to use a Promise client they will immediately be shown a helpful error msg.

@github-actions github-actions bot temporarily deployed to staging/pull/1450/features September 25, 2023 09:43 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1450/bundle-report September 25, 2023 09:44 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1450/typedoc September 25, 2023 09:44 Inactive
@owenpearson owenpearson force-pushed the react-callbacks-error-message branch from 2200b4e to c2dcf50 Compare September 25, 2023 10:42
@github-actions github-actions bot temporarily deployed to staging/pull/1450/features September 25, 2023 10:43 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1450/typedoc September 25, 2023 10:44 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1450/bundle-report September 25, 2023 10:45 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants